package com.yudianbank.com;

import org.springframework.beans.factory.annotation.Value;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.client.discovery.EnableDiscoveryClient;
import org.springframework.cloud.config.server.EnableConfigServer;

/**
 * Created by huangxiaoqiang on 17/5/8.
 */
@SpringBootApplication
@EnableConfigServer
@EnableDiscoveryClient
public class CloudApplication {

    /*@Value("${server.port}")
    private String url;
    @RequestMapping(value = "/")
    public String helloCloudWorld(){
        return "Hello cloud world:"+url;
    }*/

    public static void main(String[] args) {
        SpringApplication.run(CloudApplication.class,args);
    }
}
